package com.pingan.setting.general.dao;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.orm.ibatis.SqlMapClientTemplate;
import org.springframework.stereotype.Repository;

import com.pingan.setting.general.entity.GeneralStatSettingBean;

@Repository
public class GeneralStatSettingDao {

	@Resource
	private SqlMapClientTemplate reportsysSetttingReadSqlMapClientTemplate;

	@SuppressWarnings("unchecked")
	public List<GeneralStatSettingBean> getGeneralStatSettingBeans() {
		return reportsysSetttingReadSqlMapClientTemplate
				.queryForList("generalstatsetting.getGeneralStatSettingBeans");
	}

}
